package grape.house.rest.estatelicence.mapper;

import grape.house.rest.estatelicence.form.EstateLicenceListForm;
import grape.house.service.estatelicence.po.EstateLicence;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.house.rest.estatelicence.form.EstateLicenceCreateForm;
import grape.house.rest.estatelicence.form.EstateLicenceUpdateForm;
import grape.house.rest.estatelicence.form.EstateLicenceListPageForm;
import grape.house.rest.estatelicence.vo.EstateLicenceVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 楼盘许可证表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-09-17
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EstateLicenceWebMapper extends WebMapper<EstateLicenceVo, EstateLicence> {

    EstateLicence formToPo(EstateLicenceCreateForm f);
    EstateLicence formToPo(EstateLicenceUpdateForm f);
    EstateLicence formToPo(EstateLicenceListPageForm f);
    EstateLicence formToPo(EstateLicenceListForm f);
}
